package com.zhongpengcheng;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 启动应用
 * @author zhongpengcheng
 */
@MapperScan(annotationClass = Mapper.class) // 扫描MybatisPlus的Mapper
@SpringBootApplication
public class WebSiteApplication {

    public static void main(String[] args) {
        SpringApplication.run(WebSiteApplication.class, args);
    }
}
